package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.SkuInfoEntity;
import com.gulimall.product.vo.SkuItemInfoVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author gs
 * @email sunlightcs@gmail.com
 * @date 2022-03-21 10:55:45
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SkuInfoEntity> getSkusBySpuId(long spuId);

    SkuItemInfoVo getSkuItemInfoVoBySkuId(Long skuId) throws ExecutionException, InterruptedException;
}

